package com.ruoyi.material.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.market.domain.ConfigBase;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 礼物图鉴手册图鉴手册 handbook
 *
 * @author ruoyi
 */
public class Handbook extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 礼物图鉴手册ID
     */
    private Long handbookId;

    /** 店铺ID */
    private String shopId;

    /**
     * 帐号状态（0正常 1停用）
     */
    private String status;

    /**
     * 排序
     */
    private Long handbookSort;

    /**
     * 礼物图鉴手册标题
     */
    private String handbookTitle;

    /**
     * 动态图片 动画演示
     */
    private String dynamicImage;

    /**
     * 静态图片 封面图片
     */
    private String staticImage;

    /**
     * 展示类型 gif svga
     */
    private String imageType;

    /** 是否动效标识（Y=是,N=否, 未知） */
    private String isDynamic;

    /** 是否系统所有（Y=是,N=否, 默认Y） */
    private String isSystem;

    /** 所属店铺信息   */
    private ConfigBase shopInfo;

    public Handbook() {

    }

    public Handbook(Long handbookId) {
        this.handbookId = handbookId;
    }

    public Long getHandbookId() {
        return handbookId;
    }

    public void setHandbookId(Long handbookId) {
        this.handbookId = handbookId;
    }

    public String getShopId(){ return shopId; }

    public void setShopId(String shopId){ this.shopId = shopId; }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getHandbookSort() {
        return handbookSort;
    }

    public void setHandbookSort(Long handbookSort) {
        this.handbookSort = handbookSort;
    }

    public String getHandbookTitle() {
        return handbookTitle;
    }

    public void setHandbookTitle(String handbookTitle) {
        this.handbookTitle = handbookTitle;
    }

    public String getStaticImage() {
        return staticImage;
    }

    public void setStaticImage(String staticImage) {
        this.staticImage = staticImage;
    }

    public String getDynamicImage() {
        return dynamicImage;
    }

    public void setDynamicImage(String dynamicImage) {
        this.dynamicImage = dynamicImage;
    }

    public String getImageType() {
        return imageType;
    }

    public void setImageType(String imageType) {
        this.imageType = imageType;
    }

    public String getIsDynamic() {
        return isDynamic;
    }

    public void setIsDynamic(String isDynamic) {
        this.isDynamic = isDynamic;
    }

    public String getIsSystem() {
        return isSystem;
    }

    public void setIsSystem(String isSystem) {
        this.isSystem = isSystem;
    }

    public ConfigBase getShopInfo()
    {
        return shopInfo;
    }

    public void setShopInfo(ConfigBase shopInfo)
    {
        this.shopInfo = shopInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("handbookId", getHandbookId())
                .append("shopId", getShopId())
                .append("handbookSort", getHandbookSort())
                .append("handbookTitle", getHandbookTitle())
                .append("staticImage", getStaticImage())
                .append("dynamicImage", getDynamicImage())
                .append("isDynamic", getIsDynamic())
                .append("isSystem", getIsSystem())
                .append("imageType", getImageType())
                .append("shopInfo", getShopInfo())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("status", getStatus())
                .toString();
    }
}
